<%@page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@page import="bean.RequirementBean"%>
(共查询到<font size="8px;" color="green"><s:property value="#reList.size"/></font>条记录)
		<div class="table-responsive">
            <table class="table table-striped table-hover">
           		<thead>
		  			<tr>
		  				<th style="text-align:center">需求编号 </th>
						<th style="text-align:center">需求类型</th>
						<th style="text-align:center">业务类别</th>
						<th style="width:150px;text-align:center">需求名称</th>
						<th style="text-align:center">项目简介</th>
						<th style="text-align:center">应用范围</th>
						<th style="text-align:center">提出单位</th>
						<th style="text-align:center">主办单位</th>
						<th style="width:100px;text-align:center">协办单位</th>
						<th style="width:100px;text-align:center">业务联系人</th>
						<th style="text-align:center">处理类型</th>
						<th style="text-align:center">受理团队</th>
					    <!-- <th style="text-align:center">接收日期</th> -->
						<th style="text-align:center">受理日期</th>
						<th style="text-align:center">审批结果</th>
						<th style="text-align:center">备注</th>
						<th style="width:150px;text-align:center">附件</th>
						<% 
							if(((String)session.getAttribute("username")).equals("admin") || ((String)session.getAttribute("username")).equals("xuqiu")){ 
						%>
						<th style="width:20px;text-align:center">文件上传</th>
						<th style="width:20px;text-align:center">操作</th>	
						<% } %>
		  			</tr>
	  			</thead>
	  			<tbody>
				<s:iterator value="#reList" id="requirement" status="status" >
				  <tr align="center">
		  			<td><s:property value="#requirement.requirementId"/></td>
		  			<td><s:property value="#requirement.requirementType"/></td>
		  			<td><s:property value="#requirement.requirementKind"/></td>
		  			<td><s:property value="#requirement.requirementName"/></td>
		  			<td>
			  			<a type="button" class="btn btn-default" data-toggle="requirementIntroduction" title="需求简介"  data-placement="left"
			  				data-content="<s:property value="#requirement.requirementIntroduction"/>">简介详情
			  			</a>
						<script>
							$(function () {
						  		$('[data-toggle="requirementIntroduction"]').popover();
							});
						</script>
		  			</td>
		  			<td><s:property value="#requirement.applicationScope"/></td>
		  			<td><s:property value="#requirement.requirementUnit"/></td>
		  			<td><s:property value="#requirement.sponsor"/></td>
		  			<td><s:property value="#requirement.coSponsor"/></td>
		  			<td><s:property value="#requirement.requirementPerson"/></td>
		  			<td><s:property value="#requirement.dealType"/></td>
		  			<td><s:property value="#requirement.dealTeam"/></td>
		  			<!--  <td><s:property value="#requirement.receiveDate"/></td>-->
		  			<td><s:property value="#requirement.dealDate"/></td>
		  			<td><s:property value="#requirement.dealResult"/></td>
		  			<td>
			  			<a type="button" class="btn btn-default" data-toggle="dealdetails" title="备注信息"  data-placement="left"
			  				data-content="<s:property value="#requirement.dealdetails"/>">详情
			  			</a>
						<script>
							$(function () {
						  		$('[data-toggle="dealdetails"]').popover();
							});
						</script>
		  			</td>
		  			<td><a id="filePath" href="download.action?fileName=<s:property value="#requirement.filePath"/>"><s:property value="#requirement.filePath"/></a></td>
		  			<% 
		  				if(((String)session.getAttribute("username")).equals("admin") || ((String)session.getAttribute("username")).equals("xuqiu")){ 
		  			 %>
		  			<td><a type="button" class="btn btn-info" href="<s:url action="upload">
		  					<s:param name="requirementId" value="%{#requirement.requirementId}"></s:param>
		  				</s:url>">上传</a>
		  			</td>
		  			<td style="width: 11%">
						<a type="button" class="btn btn-success" href="<s:url action="selectRequirementById">
		  					<s:param name="requirementId" value="%{#requirement.requirementId}"></s:param>
		  				</s:url>">更新</a>
						<a type="button" class="btn btn-warning" href="<s:url action="deleteRequirementById">
		  					<s:param name="requirementId" value="%{#requirement.requirementId}"></s:param>
		  				</s:url>">删除</a>
		  			</td>
		  			<% } %>
		  		</tr>
		  		</s:iterator>
		  		</tbody>
  			</table>
  		</div>
		